"""
用while循环计算 1- 100 之间所有奇数的和
"""

sum = 0
i = 1
while i <= 100:
    if i % 2 != 0:
        sum = sum + i
    i = i + 1

print(sum)